﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;

namespace Xyz.Service.DataTransferObjects
{
    [DataContract]
    public class TicketDTO
    {
        [DataMember]
        public int TicketId { get; set; }

        [DataMember]
        public FlightSeatDTO FlightSeat { get; set; }

        [DataMember]
        public int BookingId { get; set; }

        [DataMember]
        public int FlightId { get; set; }

        [DataMember]
        public FlightDTO Flight { get; set; }

        [DataMember]
        public PassengerDTO Passenger { get; set; }

        [DataMember]
        public decimal TicketFare { get; set; }

        [DataMember]
        public List<PassengerServiceDTO> Services { get; set; }
    }
}
